package com.gouqi.mall.service;

import com.gouqi.mall.domain.Message;
import com.gouqi.mall.domain.dto.MessageResult;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface MessageService {
    Integer addMessage(Message message);
    Integer updateMessage(Message message);
    List<MessageResult> getAllMessages();
    MessageResult getDescMessage(Integer id);

    Integer deleteMessage(Integer id);
}
